package com.apps.member.service;

import com.apps.goods.model.po.KupaGoods;
import com.apps.member.model.po.KupaMemberCollectGoods;
import com.apps.sworld.dao.sGoods;
import com.apps.sworld.dao.sMember;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 大鹏
 * @since 2020-10-02
 */
public interface IKupaMemberCollectGoodsService extends sGoods<KupaMemberCollectGoods>
{

    /**
     *
     * @param member_id
     * @param goods_id
     * @return
     */
    KupaMemberCollectGoods getOne(Integer member_id, Integer goods_id);

    /**
     * 删除用户的收藏记录
     * @param member_id
     * @param goods_id
     */
    void delete(Integer member_id,Integer goods_id);
    /**
     *
     * @param member_id
     * @param goods_id
     */
    void saveToDB(Integer member_id,Integer goods_id);
}
